package be.djdb.custom;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

public class PreFiles {
	private void HTML(String dir,String filename ) {
	    			String htmlFile = dir + "\\" + filename + ".html";
	    			System.out.println(htmlFile);
					try {
						FileWriter output = null;
						output = new FileWriter(htmlFile);
		    			BufferedWriter writer = new BufferedWriter(output);
		    			writer.write("<html>");
		    			writer.write("<head>");
		    			writer.write("</head>");
		    			writer.write("<body>");
		    			writer.write("<pre>");
		    			//writer.write(cu.getSource());
		    			writer.write("</pre>");
		    			writer.write("</body>");
		    			writer.write("</html>");
		    			writer.flush();
					} catch (IOException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					}
	  }
	    
	
}
